import java.io.IOException;
import java.io.FileReader;
import java.io.Reader;


public class FileReaderDome {
	public static void main(String[] args) throws IOException{
		Reader reader = new FileReader("D:\\workspace\\JavaProExample9\\src\\1.txt");
		
		char[] chars = new char[1024];
		int len = reader.read(chars);
		
		Object writer;
		writer.write(chars,0,len);
		reader.close();
		writer.close();
		}
		
	}

}
